package Demo_0311;

/**
 * @author:zhengyilong
 * @email:1797344574@qq.com
 * @phone:13479394730
 * @desc:
 * @DateTime:2022/3/11 11:39
 **/
public class Main {
    public static void main(String[] args) {
        Demo1 demo1 = new Demo1();
        System.out.println(demo1.add(1,4,6));
        System.out.println(demo1.add(1,3));
        System.out.println(demo1.add(4,3,4,3));

        Demo2 demo2 = new Demo2();
        System.out.println(demo2.add(4,6));
    }
}

